#coding:utf8
import re
# for x in range(int("000000", 2),int("1111111",2)+1):
#     print str(bin(128+x))[3:]+"："+ str(max(map(lambda x:len(x),str(bin(128+x))[3:].split("0"))))

replaceword = ["${day+1}","${day+2}"]
print "${day+1}jslkdjflsj${day+1}".replace("["+"|".join(replaceword)+"]","day")
for x in re.findall("|".join(replaceword),"${day+1}${day+1}"):
    print x